package com.dnzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.dnzx.framework.orm.mybatis.MybatisBaseDao;
import org.springframework.stereotype.Repository;

import com.dnzx.model.system.UserBO;

/**
 * <p>cms系统后台用户dao </p>
 *
 * @author Steven
 * @version V1.0
 * @Package com.dnzx.dao
 * 
 * @date 2017/9/15 10:43
 */
@Repository
public interface IUserDao extends MybatisBaseDao<UserBO,Long> {
	
	public void save(UserBO userBO);
	
	public void delete(Long id);
	
	public void update(UserBO userBO);
	
	public UserBO get(Long id);
	
	public UserBO get(UserBO userBO);

	public List<UserBO> queryList(UserBO userBO);
	
	public List<UserBO> queryPage(@Param("pageSize") int pageSize, 
			@Param("startRow") int startRow, @Param("bo") UserBO bo);
	
	public int queryCount(UserBO userBO);
}
